home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 35 / PC Gamer IT CD 35 1-2.iso / Elink / NSCOMM / NCJS10.JAR / gencon.js < prev    next >
Text File  |  1997-10-20  |  1KB  |  59 lines

  1. var selectorWindow = parent;
  2. var editing = 0;
  3.  
  4. function HandleEdit()
  5. {
  6.     if (selectorWindow.titlebar.finishedLoading == 0)
  7.         return;
  8.  
  9.     depth.SecureWindowOpen(window, 'mainpref.htm', 
  10.                 'mainprefs', 
  11.                 'left=100,top=100,width=432,height=300,titlebar=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,modal=yes,alwaysRaised=yes,z-lock=no,dependent=yes,hotkeys=no');
  12.  
  13. }
  14.  
  15. function HandleAdd()
  16. {
  17.     if (selectorWindow.titlebar.finishedLoading == 0)
  18.         return;
  19.  
  20.     var addWindow =    depth.SecureWindowOpen(window, 'addc.htm', 
  21.                     'prefs', 
  22.                     'left=150,top=200,width=427,height=247,titlebar=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,modal=yes,alwaysRaised=yes,z-lock=no,dependent=yes,hotkeys=no');
  23.  
  24.     addWindow.depth = top;
  25. }
  26.  
  27. function HandleHelp(topic)
  28. {
  29.     if ((topic == null) || (topic == ""))
  30.         topic = "net_main_about";
  31.  
  32.     selectorWindow.location.href = "nethelp:netscape/netcastr:" + topic;
  33. }
  34.  
  35.  
  36. function HandleExit()
  37. {
  38.     parent.opener.HideSelector();
  39.     selectorWindow.titlebar.closeNetCast();
  40. }
  41.  
  42. function PropertiesCallback(propsWindow)
  43. {
  44.     propsWindow.selector = selectorWindow;
  45.     propsWindow.container = depth.getDefaultContainer();
  46.  
  47.     propsWindow.callback = self;
  48.  
  49. }
  50.  
  51. function GetSelectorWindow()
  52. {
  53.     return selectorWindow;
  54. }
  55.  
  56. void(0);
  57.  
  58.  
  59.